github.com/gotd/td/telegram/downloader.observer.log (field)
13 uses
github.com/gotd/td/telegram/downloader (current package)
metrics.go#L75: log log.Helper
metrics.go#L106: o := &observer{log: log.For(lg)}
metrics.go#L227: o.log.Debug(ctx, "Download failed", log.Error(err))
metrics.go#L236: o.log.Debug(ctx, "Resume download", log.Int64("offset", offset))
metrics.go#L244: o.log.Debug(ctx, "Redirected to CDN", log.Int("cdn_dc", dc))
metrics.go#L252: o.log.Debug(ctx, "CDN file reupload", log.Int("cdn_dc", dc))
metrics.go#L260: o.log.Warn(ctx, "Hash mismatch", log.String("kind", kind), log.Int64("offset", offset))
metrics.go#L269: o.log.Debug(ctx, "File reference refreshed")
metrics.go#L272: o.log.Warn(ctx, "File reference refresh failed", log.String("result", result), log.Error(err))
metrics.go#L284: o.log.Debug(ctx, "Scheduler backoff", log.String("reason", reason))
metrics.go#L301: o.log.Debug(ctx, "Verified local file",
metrics.go#L314: o.log.Debug(ctx, "Retry",
metrics.go#L326: o.log.Warn(ctx, "Retry limit reached", log.String("operation", op), log.Error(err))
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |